package Level02_three;

public class Parrot extends Animal{
    @Override
    void eat() {
        System.out.println(super.getAge()+"岁的"+super.getColor()+"鹦鹉在吃小米");
    }
    void say(){
        System.out.println(super.getAge()+"岁的"+super.getColor()+"鹦鹉在说话");
    }

    public Parrot(String color, int age) {
        super(color, age);
    }

    public Parrot() {
    }
}
